package com.sky.service;

import com.sky.dto.CategoryDTO;
import com.sky.dto.CategoryPageQueryDTO;
import com.sky.entity.Category;
import com.sky.result.PageResult;

import java.util.List;

public interface CategoryService {
    //套餐菜品新增
    void addCategory(Category category);

    //菜品分页查询
    PageResult selectCategory(CategoryPageQueryDTO categoryPageQueryDTO);
    //根据分类id删除
    void delectCategory(Integer id);
    //修改分类数据回显
    List<Category> selectById(Integer id);
    //根据Id修改
    void putById(Category category);
    //根据类型查询分类
    List<Category> selectType(Category category);
}
